<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>555</title>
    <!-- Bootstrap -->
    <link href="__CSS__/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="__CSS__/my.css">
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="__JS__/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="__JS__/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-md-12 column">
   
            <div class="row">
		         <div class="col-md-12 column">
		         <form action="{:url('admin/photo/photo_edit')}" method="post" id='myform' enctype="multipart/form-data" >
			        <table class="table table-hover table-bordered ">
			           <caption><h2>编辑图片</h2></caption>
			          <input type="hidden" name="id" value="{$id}">
						<tr class="row">
							<th class="col-md-3">小广告图片:</th>
							<td class="col-md-6">
								<input type="file" name="img" value="{$img}">
							</td>
						</tr>
						<tr class="row">
							<th class="col-md-3">图片标题:</th>
							<td class="col-md-6">
								<input type="text" name="title" value="{$title}">
							</td>
						</tr>
			           	<tr class="row">
			           		<th class="col-md-3"></th>
			           		<td class="col-md-6">
			           		<input class="btn btn-primary " value="提交" type="submit">
			                	<input class="btn btn-primary" onclick="history.go(-1)" value="返回" type="button">

			           		</td>

			           </tr>
			         
			        </table>
			       </form>
		          </div>

            </div>
        </div>
    </div>
</div>
</body>
</html>